#ifndef __DEFINE_H_
#define __DEFINE_H_

#include "Logger.h"

#define Logger(level) Util::Logger( level, __FUNCTION__, __FILE__, __LINE__ )
#define InfoLogger Logger( Util::Level_InfoLog )
#define WarnLogger Logger( Util::Level_WarnLog )
#define ErrorLogger Logger( Util::Level_ErrorLog )
#define InfoLog(x) do { InfoLogger << x ; } while( FALSE )
#define WarnLog(x) do { WarnLogger << x ; } while( FALSE )
#define ErrorLog(x) do { ErrorLogger << x ; } while( FALSE )

#endif //__DEFINE_H_